projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef7054f
)
* lisp.h (GLYPH_FACE): Remember that the face portion of a glyph
author
Jim Blandy
<jimb@redhat.com>
Sun, 23 May 1993 19:23:38 +0000
(19:23 +0000)
committer
Jim Blandy
<jimb@redhat.com>
Sun, 23 May 1993 19:23:38 +0000
(19:23 +0000)
can be 24 bits, not just eight.
src/lisp.h
patch
|
blob
|
history
diff --git
a/src/lisp.h
b/src/lisp.h
index 06abaa128db2a4825dc13c9067d7f09356cfab1f..a41a73269e53628b2a929d4c3476e807d75ca034 100644
(file)
--- a/
src/lisp.h
+++ b/
src/lisp.h
@@
-606,7
+606,7
@@
typedef unsigned char UCHAR;
#define GLYPH_CHAR(glyph) ((glyph) & 0xff)
/* Return a glyph's face ID. */
-#define GLYPH_FACE(glyph) (((glyph) >> 8) &
0xff
)
+#define GLYPH_FACE(glyph) (((glyph) >> 8) &
((1 << 24) - 1)
)
\f
/* Data type checking */